//
//  faveriterCard.h
//  QRMaster
//
//  Created by myApple on 15/7/15.
//  Copyright (c) 2015年 myApple. All rights reserved.
//


#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, cardResultType) {
    KCFAIL_FAVERITER = 50,
    KCSUCCESS_FAVERITER,
    KCCANCEL_FAVERITER,
};

typedef void(^cardResult)(cardResultType type);

@interface faveriterCard : NSObject

/**
 *  取消获取收藏房卡
 *
 *  @param cardInfo 房卡的基本信息
 *  @param block    是否收藏或者取消收藏
 */
+(void)faveriterOrCancelCardByRoomId:(NSMutableDictionary *)cardInfo
                              result:(cardResult )block;

+(void)writeFaveriterCard:(NSArray *)array;

@end
